package com.ruoyi.luban.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

public class LoginUserAndTokenVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @JsonProperty("loginUser")
    WxLoginUserVo loginUser;
    String authToken;//授权token,注册后才有
    // 微信小程序的 openId
    String maOpenId;
    // 微信小程序的 unionId
    String maUnionId;
    // 微信小程序的 unionId
    String maSessionKey;

    String loginType;

    String toBind;//登录后是否需要去绑定学校或者账号 -1 表示需要调用注册接口 0 不需要 1需要

    Long schoolId;

    String schoolName;

    String subscribeStatus;

    public String getSubscribeStatus() {
        return subscribeStatus;
    }

    public void setSubscribeStatus(String subscribeStatus) {
        this.subscribeStatus = subscribeStatus;
    }

    public WxLoginUserVo getLoginUser() {
        return loginUser;
    }

    public void setLoginUser(WxLoginUserVo loginUser) {
        this.loginUser = loginUser;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public String getMaOpenId() {
        return maOpenId;
    }

    public void setMaOpenId(String maOpenId) {
        this.maOpenId = maOpenId;
    }

    public String getMaUnionId() {
        return maUnionId;
    }

    public void setMaUnionId(String maUnionId) {
        this.maUnionId = maUnionId;
    }

    public String getMaSessionKey() {
        return maSessionKey;
    }

    public void setMaSessionKey(String maSessionKey) {
        this.maSessionKey = maSessionKey;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getToBind() {
        return toBind;
    }

    public void setToBind(String toBind) {
        this.toBind = toBind;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }
}
